#ifndef SAC_H
#define SAC_H
#include "database.h"
#include "sac_new.h"
#include "QString"
#include "QDateTime"
class Sac : public DataBase
{
public:
    Sac();
    virtual ~Sac();
    Sac(QString fileName);
    Sac(QString fileName,DATAFORMAT dataFormat);
    Sac_trace *getTrace();
    QDateTime getStartTime();
    virtual int getFreq();
    virtual int getInterval();
     virtual LONG getPointNumber();
    virtual int *getData(long long start, long long end, DATAFORMAT dataformat=0, int pianyiPoint=0);
private:
    Sac_trace *trace;

};

#endif // SAC_H
